import request from '@/utils/request'
//查询商品详情
export const getDetails=(id:any)=>{
    return request<any,Product[]>({
        url:'/api/detail',
        params:{
            id,

        }
    })
}